# $Id: PKGBUILD 85717 2013-03-05 16:54:39Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor:  Pawel "kTT" Salata <rockplayer.pl@gmail.com>

pkgname=python2-pycountry
pkgver=0.14.8
pkgrel=1
pkgdesc="ISO country, subdivision, language, currency and script definitions and their translations"
arch=('any')
url="http://pypi.python.org/pypi/pycountry"
license=('LGPL')
depends=('python2-lxml' 'python2-distribute')
source=("http://pypi.python.org/packages/source/p/pycountry/pycountry-$pkgver.zip")
md5sums=('2c775e379ba5ca2363f4f595ac9304ba')

package() {
  cd "${srcdir}/pycountry-${pkgver}"

  python2 setup.py install --root="$pkgdir/" --optimize=1
}
